namespace SelfManagement.Database.MySql.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class School1 : DbMigration
    {
        public override void Up()
        {
            AddColumn("dbo.School", "SchoolMajor", c => c.String(maxLength: 500, storeType: "nvarchar"));
            AddColumn("dbo.School", "SchoolFeature", c => c.String(maxLength: 5000, storeType: "nvarchar"));
            AddColumn("dbo.School", "SchoolNumberPeople", c => c.Int(nullable: false));
            AddColumn("dbo.School", "SchoolTime", c => c.Int(nullable: false));
            AddColumn("dbo.School", "SchoolArea", c => c.String(maxLength: 500, storeType: "nvarchar"));
        }
        
        public override void Down()
        {
            DropColumn("dbo.School", "SchoolArea");
            DropColumn("dbo.School", "SchoolTime");
            DropColumn("dbo.School", "SchoolNumberPeople");
            DropColumn("dbo.School", "SchoolFeature");
            DropColumn("dbo.School", "SchoolMajor");
        }
    }
}
